package ar.com.gep.soccer.services.dto;

import java.util.List;

import ar.com.cdt.framework.business.dto.BaseDTO;

public class LeagueDTO extends BaseDTO {

	private static final long serialVersionUID = -1407123040068666513L;

	private int currentEdition;

	private String name;

	private List<EditionDTO> editions;

	public int getCurrentEdition() {
		return currentEdition;
	}

	public void setCurrentEdition(int currentEdition) {
		this.currentEdition = currentEdition;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<EditionDTO> getEditions() {
		return editions;
	}

	public void setEditions(List<EditionDTO> editions) {
		this.editions = editions;
	}

	public void sumCurrentEdition() {
		setCurrentEdition(getCurrentEdition() + 1);
	}

}
